package com.hmy.contract.service.contract.create;

import com.hmy.contract.service.dto.contract.CreateContractBaseDto;
import com.hmy.contract.service.dto.contract.FieldDto;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author seven.qi 齐胜南
 * @version 1.0
 * @description
 * @date 2023/12/23 16:14
 */
@Service
@Slf4j
public abstract class ContractCreateService<T extends CreateContractBaseDto> {

    public abstract String create(T createContractDto);

    public abstract List<FieldDto> fillFieldValue(T createContractDto);

    public abstract String start(String signTaskId, List<FieldDto> fieldDtoList, T dto);

}
